package com.vhall.component.service.rbac;


import com.vhall.component.entity.rbac.vo.*;

/**
 * @author dalong
 * @date 2021-05-13 19:34
 */
public interface RbacActionService {

    /**
     * 创建权限
     *
     * @param reqVO
     * @return
     */
    ActionsVO add(ActionAddReqVO reqVO);

    /**
     * 批量删除
     *
     * @param reqVO
     * @return
     */
    boolean batchDelete(ActionDeleteReqVO reqVO);

    /**
     * 编辑权限
     *
     * @param reqVO
     * @return
     */
    boolean update(ActionEditReqVO reqVO);

    boolean updateStatus(ActionEditReqVO reqVO);

    /**
     * 获取权限列表
     *
     * @param reqVO
     * @return
     */
    ActionListRspVO getList(ActionListReqVO reqVO);

    Boolean edit(EditActionReqVO reqVO);
}
